Boost
boost
arrow_drop_down
Boost.Integer
C++ 03 Added in Boost 1.16.1
Categories: Math

The organization of boost integer headers and classes is designed to take advantage of <stdint.h> types from the 1999 C standard without resorting to undefined behavior in terms of the 1998 C++ standard. The header <boost/cstdint.hpp> makes the standard integer types safely available in namespace boost without placing any names in namespace std.

This Release

Andrey Semashev
Andrey Semashev
Maintainer
Daryle Walker
Maintainer

Boost.Integer

Boost.Integer, part of collection of the Boost C++ Libraries, provides integer type support, particularly helpful in generic programming. It provides the means to select an integer type based upon its properties, like the number of bits or the maximum supported value, as well as compile-time bit mask selection. There is a derivative of std::numeric_limits that provides integral constant expressions for min and max... Finally, it provides two compile-time algorithms: determining the highest power of two in a compile-time value; and computing min and max of constant expressions.

Directories

  • doc - QuickBook documentation sources
  • include - Interface headers of Boost.Integer
  • test - Boost.Integer unit tests

More information

  • Documentation
  • Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.

Build status

Branch GitHub Actions Drone AppVeyor Test Matrix Dependencies
master GitHub Actions Drone AppVeyor Tests Dependencies
develop GitHub Actions Drone AppVeyor Tests Dependencies

License

Distributed under the Boost Software License, Version 1.0.

All Time

jzmaddock
jzmaddock
Contributor
Beman Dawes
Beman Dawes
Contributor
Nick Thompson
Nick Thompson
Contributor
Daryle Walker
Daryle Walker
Contributor
nobody
Contributor
Daniel James
Daniel James
Contributor
Jens Maurer
Jens Maurer
Contributor
Peter Dimov
Peter Dimov
Contributor
Douglas Gregor
Douglas Gregor
Contributor
Dave Abrahams
Dave Abrahams
Contributor
Gennaro Prota
Contributor
Glen Fernandes
Glen Fernandes
Contributor
Marshall Clow
Marshall Clow
Contributor
Jeremy Siek
Jeremy Siek
Contributor
Rene Rivera
Rene Rivera
Contributor
Troy D. Straszheim
Troy D. Straszheim
Contributor
Edward Diener
Edward Diener
Contributor
Vicente J. Botet Escriba
Vicente J. Botet Escriba
Contributor
Markus Schöpflin
Contributor
Darin Adler
Contributor
Paul A. Bristow
Paul A. Bristow
Contributor
Glen Fernandes
Glen Fernandes
Contributor
Michael A. Jackson
Michael A. Jackson
Contributor
Steven Watanabe
Steven Watanabe
Contributor
Joaquín M. López Muñoz
Joaquín M. López Muñoz
Contributor
Boris Gubenko
Contributor
Aleksey Gurtovoy
Contributor
Stefan Slapeta
Contributor
Stephen Kelly
Stephen Kelly
Contributor
Bernardo Sulzbach
Bernardo Sulzbach
Contributor
Peter Dimov
Peter Dimov
Contributor
Hartmut Kaiser
Hartmut Kaiser
Contributor
Eric Niebler
Contributor
Jeremiah Willcock
Jeremiah Willcock
Contributor
Kohei Takahashi
Kohei Takahashi
Contributor
Daniela Engert
Daniela Engert
Contributor
Tinko Bartels
Tinko Bartels
Contributor
sdarwin
sdarwin
Contributor
Gennadiy Rozental
Gennadiy Rozental
Contributor
Björn Karlsson
Contributor